package com.exam.demo.service;

import com.exam.demo.pojo.Student;

import java.util.List;

public interface StudentService {
    int add(Student student);
    Boolean login(String stuNo,String stuPwd);
    Student getInfo(String stuNo);
    int updateStuInfo(Student student);
    int updateStuPwd(String stuNo,String oldStuPwd,String newStuPwd);
    List<Student> getStudentListByStuNo(String stuName);
    List<Student> getStudentListByStuName(String stuName);
    List<Student> getStudentListByStuDiscipline(String stuName);
    List<Student> getStudentListByStuGrade(String stuName);
}
